program.control

Category

System commands

Syntax

program.control();

Description

Prevents the player from moving ego (object 0) around with the arrow keys. After this command has been executed, ego can only be moved by using the various object movement commands that are available such as move.obj. If ego is already moving, it continues in its current direction.

The player can be given control of ego again by using the player.control command.

See also

player.control