While mouse rollOver?

while the mouse is over my button I want a function to be exicuted untill it is false. how can i do this?