Notifications
Clear all
[Closed] Executing a function on mouse over node?
Page 2 / 2
Prev
Sep 29, 2011 8:58 pm
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
Sep 29, 2011 8:58 pm
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
Prev