[Suggestion] New Condition to check for layout name

Discussion and feedback on Construct 2

Post » Sun Feb 15, 2015 10:33 am

Hi. Sometimes it would be nice to be able to check on what layout the player is without the need to add a global variable to store the layout name in.
Like this: X CurrentLayout="Titlescreen" >> Show BackButton
(X = inverted)

This would automatically show the "back" button on all layouts which are not the title screen. Would be much faster and easier for some tasks. :)

/edit: oops! Just found the layout name in System > Compare two values in the System category. So never mind. ;)
I have this on a global event sheet included in all layouts now and it works fine:
Posts: 681
Reputation: 8,399

Return to Construct 2 General

Who is online

Users browsing this forum: corlenbelspar, Xam and 5 guests