Skip to content

Create Actor

Function Description

Creates a new actor and displays it on the screen.

Syntax Structure

text
actor show [actor_name] [state] at [x] [y] scale [scale]

Parameter Description

ParameterRequiredExampleDescription
actor_nameYesbobActor name
stateYeshappyActor state (expression)
xYes400X coordinate
yYes300Y coordinate
scaleNo0.8Actor scale (default: 1.0)

Examples

text
# Create actor
actor show alice happy at 400 300 scale 0.8

Released under BSD3-Clause License.