#✅ | a
1 messages · Page 1 of 1 (latest)
Heya! 💖 To run an action script at the start of a screen that disables an Element Animator:
- Open the layout you want and right-click the editor background.
- Choose Manage Action Script (or the screen open event entry) so the script runs whenever the screen opens.
- Add a new action: pick Disable Element Animator (
disable_element_animator). - Paste the animator’s identifier as the action value—grab it by right-clicking the Element Animator element and selecting Copy Element Identifier.
- Save the script.
Now the animator will be disabled every time the layout screen opens. 😊
i dont see menage action script
If you don’t see “Manage Action Script” it’s usually because you’re not editing an element yet. To run a script when the layout opens:
- Open the layout (make sure customizations are enabled on that screen).
- Right-click the editor background somewhere empty.
- Choose Screen Events → On Screen Opened (or the event you want).
- Click “Manage Action Script” from that event menu.
- Add a Disable Element Animator action (
disable_element_animator) and paste the animator’s identifier (copy it from the Element Animator via right‑click → “Copy Element Identifier”). - Save.
Now every time the screen opens, the animator will be disabled. 😊
More detail here: Action Scripts
i see loading requirements
Ah, if you only see “Loading Requirements,” you probably opened the wrong menu. To get to the action script editor:
- Right-click the empty editor background (not an element).
- In that context menu choose Screen Events → On Screen Opened (or whichever event you want to hook).
- In the event screen, click Manage Action Script.
- Add the Disable Element Animator action (
disable_element_animator) and paste the animator’s identifier (right-click the animator element and pick “Copy Element Identifier” beforehand). - Save the script.
That way the animator is disabled as soon as the layout screen opens. 😊
More info here: Action Scripts
whats an empty editor
An “empty editor background” just means clicking somewhere in the layout editor where no element is currently selected (the dark grey canvas around your elements). Right‑click there to open the background menu (you’ll see options like “New Element,” “Layout Settings,” “Screen Events,” etc.). That’s the menu you need to open the Screen Events → On Screen Opened entry from, then click “Manage Action Script” to add your disable_element_animator action. 😊
More info: Action Scripts
how to make background audio fade in
To make background audio fade in, use a Ticker that smoothly raises the volume over time:
- Add your Audio element and set the initial track volume to
0.0. - Create a Ticker element (tick mode “Normal” or “On Load Screen” depending on when you want the fade to start) with a short delay (e.g., 50 ms).
- In the Ticker’s action script, add something like:
Increment Variable(or use Calculator placeholder) to keep track of the current volume level.Set Audio Element Volumeaction (set_audio_element_volume) with valueaudio_id:{"placeholder":"calc","values":{"expression":"min(($$variable + 0.02),1.0)","decimal":"true"}}.- Add an
Ifthat stops the ticker (or skips further volume changes) once the variable hits1.0.
- Make sure the Ticker runs only until the fade is done (use
Active Whenrequirements or stop ticking).
That way the volume starts at zero and ramps up in small steps—fading in your background music. 😊
More info: Action Scripts
how to separate setting screen in main menu from the one in game
You can treat the Main Menu settings screen and the in-game settings screen as two separate screens because they have different identifiers. Just do this:
- Open the Main Menu, enable customization for that screen (Customization → enable current screen customizations). Create a layout “For Current Screen” and design your Main Menu settings UI there.
- Then open the in-game settings screen, enable customization for it, and create another layout “For Current Screen.” That layout only applies to the in-game version.
- If you ever need to double-check the screen identifiers, use the Debug Overlay (Customization → Debug Overlay) and copy the identifier shown at the top.
Each layout only affects the screen that was active when you created it, so you naturally get separate designs for the two settings screens. 😊
More info: Getting Started and Screen Identifiers