Game Development Community

Can you make parts of gui appear disappear

by J Sears · in Torque Game Builder · 04/16/2007 (6:16 pm) · 2 replies

Say you have a button/list whatever and put it part of your mainscreen.gui can you make just one of those parts disappear/reappear or do you have to make them in a seperate gui and do it that way?

#1
04/17/2007 (9:02 am)
@J, I think they have either an 'enabled' or 'visible' field that you can toggle -- setVisible() is available to GUI Controls -- take a look at that.

#2
04/17/2007 (9:16 am)
Thank you that worked out perfectly