Skip to content

motion_set

CryoEagle edited this page Jan 10, 2019 · 2 revisions

motion_set

Desc

Syntax:

motion_set(dir, speed)
Argument Description
double dir Direction to move
double speed Speed to move

Returns: void

Description:

This function will move with your GameObject to given direction with given speed.

Example:

motion_set(270, 5);

The above code will move GameObject to left side with speed 5.

Back to Movement

Clone this wiki locally