Notifications
Clear all

[Closed] Executing a function on mouse over node?

or you could use something like this:

boxPickNode (box2 (mouse.pos - [1,1]) (mouse.pos + [1,1]))

you can also use the viewport redraw callback instead of a timer, though it might be a bit of an overshoot…

1 Reply
 lo1
(@lo1)
Joined: 11 months ago

Posts: 0

nice! that is freaking genius! so simple…

you can also use the viewport redraw callback instead of a timer, though it might be a bit of an overshoot…

nitrous’ progressive refinement may trigger that callback thousands of times per second:
http://forums.cgsociety.org/archive/index.php/t-1011532.html

@miauu: node.center way better than node.pos

Page 2 / 2