Ace Attorney Casing Tool Documentation

The documentation for AACS and the CodeEditor.


Project maintained by MaxDeBy Hosted on GitHub Pages — Theme by mattgraham

Back to overview


SelectSpot (Spot)


Description

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.

Parameters

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. -

Examples:

Example #1: Prompt the player to click a spot on (20,30) with an offset of 10 pixels. If the player clicks on that spot, frame ‘2’ will be played. Otherwise frame ‘3’ will be played.

1:  SelectSpot:[20|30|10|2|3];

Remarks:

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:


Back to overview