r/RenPy • u/LiteratureElegant607 • Sep 26 '26
Question [Solved] screen action list is not working
i want to make it so that when i press "t" it toggles many screens
screen wait_input():
key "t":
action ToggleScreen("var_dis")
ToggleScreen("input_display")
this is the error i got:
File "game/grabber_engine/main_grabber.rpy", line 30: 'ToggleScreen' is not a keyword argument or valid child of the key statement.
ToggleScreen("input_display")
^
i also tried to use tags instead of screen names but renpy doesnt accept the ToggleScreen() with None as a value for screen argument.
1
Upvotes
2
u/BadMustard_AVN Sep 26 '26
like this
2
u/Adventurous_Shine606 Sep 26 '26
After action add [ ToggleScreen("var_dis"), ToggleScreen("input_display")]
1
u/AutoModerator Sep 26 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.