rollover button for max
Hi everyone, I am looking for a button that will output when a mouse is moved over it (not when it is clicked) for max, anyone got any ideas for an object or a work around? Many thanks and happy holidays!
textbutton outputs 1 when you put the mouse over it.
Max 5 also gives you the [hover] option, which can output the scripting name of objects when you roll over them. It works for most objects (except comment I think). With [hover] you can make pretty much anything rollover.
There are also some other objects which send out messages/values on mouseover, like ubutton and tab. for ubutton you need to tell it to track mouse dragging, so it'll send out coordinates. jit.pwindow also sends out the mouseidle coords, see the helpfile.
Along these lines, is there any way to get mouseover info from non-rectangular objects? I was thinking maybe with pictslider or fpic, if there were transparent areas, the rest could react to [hover] and provide a non-rectangular "hotspot". Guess I should just try it.
perfect, many many thanks!
with [lcd] it is also easy