understanding actions
Actions are the building blocks of every Rhyme app. They’re like Lego pieces - each one does something specific, and you combine them to build amazing things.
what are actions?
Actions are pre-built commands that handle common tasks:
- Displaying text and images
- Getting input from users
- Saving and loading data
- Making decisions
- And much more!
action format
Every action follows this pattern:
category/name parameters
For example:
text/title "Welcome!"
- Shows a titlebutton/text "Click me"
- Creates a buttondata/set $score = 100
- Saves a value
action categories
Actions are organized into categories by what they do:
- text/ - Display words and content
- button/ - Create clickable elements
- input/ - Get information from users
- data/ - Work with information
- layout/ - Arrange things on screen
- media/ - Show images and play sounds
next steps
Ready to see all available actions? Browse the action sets to discover what you can build.