The documentation for AACS and the CodeEditor.
Prompts the player to select a point on the screen, either storing the result in variables or executing frames, depending on where the player clicked.
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
X Pos | String | The position on the x-axis. | ✓ | - |
Y Pos | Number | The position on the y-axis. | ✓ | - |
Offset | Boolean | The offset around the x and y positions. | ✓ | - |
Correct Frame | Boolean | The ID of the frame that should be played when the spot is clicked. | ✓ | - |
Wrong Frame | Boolean | The ID of the frame that should be played when the wrong spot is clicked. | ✓ | - |
1: SelectSpot:[20|30|10|2|3];
You can omit all parameters (SelectSpot:[-];
) if you don’t want to check for any specific coordinates. The player will still be prompted to select a point on the screen, but no frame will be executed. Instead, the selected coordinates will be stored in 2 variables: