Game Development Community

Can I switch a layer of an object wile in the game?

by Robert Carroll · in Torque Game Builder · 11/14/2009 (1:03 am) · 3 replies

Hi, im trying to get an object to come from the 31 layer into the 6th layer, using onMouseDown. Is there a way I could do this or can it not be done?

#1
11/14/2009 (2:17 am)
Sure... just call "setLayer" on it.
#2
11/14/2009 (4:27 am)
Ok,thanks
#3
11/14/2009 (10:58 am)
Here,
webclass.superquest.net/gamemaker-projects/Vickie%20Brown/documentation/referenc...

Keep this file open in the background while working, all times.