MvtUtil: Batch toggle mvt.Pursuer selection state
ASTER::ACTION::MotionControl::MvtUtil: Batch toggle selection state of mvt.Pursuer
Batch Select or deselect any instances of “Active Object” as
mvt.Pursuer
.
In ASTER's MoveTowards, users can group arbitrary object instances into Group A and Group B through manual operations. As a support function for recording these selections, MvtUtil is available.
In this document, Group A
is referred to as mvt.Target, and Group B
is referred to as mvt.Pursuer.
-
Relevant URL : Definition of MoveTowards
The selection state of instances is managed by ASTER.
If an instance has already been selected as mvt.Pursuer
, selecting it again will deselect it. This specification prevents bugs such as double-selecting an already selected instance.
Caution
Regarding the specification change
In versions up to and including ASTER rev.1.0.3, the above operation verification does not function properly.
Since ASTER rev.1.0.4
, operational specifications have been changed to improve immediate execution conditions such as EvD: mvU: mvt.Target, ensuring proper functionality.
Parameter:
Select the object instance. Only the "Active (sprite) Object" Type can select.

If "The Active Object" is not specified, an error will be displayed when executing the action from the event, and the process will be aborted.
Event Creation:
Create a condition-checking process that directly specifies instances, such as a mouse click event.
By supporting CF25’s action loop, the batch selection function for object instances enables the creation of events such as batch selection of instances with specific variable values and batch deselection of instances that do not meet certain conditions.
By using Event Detection together, it is possible to batch process events that specify fixed values for instances.
Export Selection
Information about the selected instances can be exported to a JSON array.
-
Create a new JSON 2D array: Export xy coordinates of mvt.Pursuer
-
Create a new JSON 2D array: Export the fixed values of mvt.Pursuer