Mouse event of t2dobjectctrl
by Playware · in Torque Game Builder · 02/25/2007 (10:11 pm) · 1 replies
Hi, does the t2dObjectCtrl support mouse over events? if no, then is there any way to show animation on a guicontrol when the mouse is over it??
any advice is appreciated, thanks and regards
any advice is appreciated, thanks and regards
About the author
Torque Owner Arthur Ogawa
You should be able to set the scene object of the control to a t2dAnimatedSprite and start the animation via the onMouseEnter() callback. Then stop the animation via the onMouseLeave() callback.