rollover button for max

Dec 20, 2009 at 5:19pm

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!

#47324
Dec 20, 2009 at 6:13pm

textbutton outputs 1 when you put the mouse over it.

#170285
Dec 20, 2009 at 9:42pm

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.

#170286
Dec 20, 2009 at 11:24pm

perfect, many many thanks!

#170287
Dec 20, 2009 at 11:59pm

with [lcd] it is also easy

#170288

You must be logged in to reply to this topic.