Game Development Community

Can a GUI control ignore mouse events?

by John Doppler Schiff · in Torque Game Engine · 03/01/2007 (7:54 am) · 3 replies

Hi folks,
I'm constructing a GUI that has a component in the foreground (I'm doing a layered interface with smoke rising in front of controls, sparks raining down, things of that sort).

How can I make a control ignore mouse events so the underlying controls handle it?

I'd think this would be an easy thing to accomplish, but my brain is having trouble wrapping itself around the problem...

TIA!

-- JohnDopp

#1
03/01/2007 (9:09 am)
Make a new profile for the control,
and in it set "modal = false;".
#2
03/01/2007 (9:32 am)
Oh fer cryin' out loud... I knew it had to be something straightforward.

Many thanks, Orion!
#3
03/01/2007 (10:23 am)
No prob !