What is 'onMouseEnter'?
by Richard Skala · in iTorque 2D · 04/22/2010 (9:23 pm) · 1 replies
This is just a question out of curiosity -- What exactly is 'onMouseEnter' for? Also, what does 'onMouseLeave' do?
About the author
Founded in 2009, Pixel Vandals Inc. is focused on bringing fun, fresh, and new ideas to the iPhone. www.pixelvandals.com www.pixelvandals.com/vineking
Torque 3D Owner Dean Parker
Serendip Games
It means the mouse has entered the same area (x1,y1,x2,y2) as an object. When the mouse hovers over the object, then do the function.
The onMouseLeave means the mouse left the ojbects area (x1,y1,x2,y2) and will run the function.