The Screen Change operation displays a specific screen or returns previous screen.
changeScreen(EXPRESSION);
1
1: Screen ID
To change the specific screen, add a Constant block, select [Int] and set the Screen ID.
Screen ID does not exist (for example, content 0 or 10000 which do not exist in a project).
Screen ID is set with a variable and its quality is bad.
If there are consecutive screen change operations in a trigger, intermediary screen change operations are skipped and only the final screen change operation is performed. However, if the final screen change operation is invalid, the previous screen change operation is performed.
If you set a negative value for the screen ID, a previous screen is displayed. For example, the value -3 changes to the third previous screen. However, if the negative screen ID value is more than the number of screen changes, the first screen is displayed.
(Example 1)
If 3 is set as the screen ID, the screen associated with screen ID 3 is displayed when the script is executed.
'changeScreen(3);'
(Example 2)
If -2 is set for the Screen ID, the screen that was displayed two changes ago is displayed when the script below is executed.
'changeScreen(-2);'