Game Development Community

Passing mouse events to the object behind

by Novack · in Torque Game Builder · 05/24/2011 (3:29 pm) · 1 replies

Copying the thread from iT2D forums, as I just realized this is a general T2D question.

Hi guys, Im looking for a way to set an object to pass the mouse events to the object beneath it.

The practical case, is a t2dStaticSprite appearing on top of another, and I want to receive clicks on the first object, as if the appearing sprite doesnt exist.

Ive looked into some options, but there seems to be no simple way of doing this. Disabling useMouseEvents seems to make the object ignore the mouse events, but then no ones catches them.


Any ideas?