path_position;
返回: Real(实数)
This function can be used to get or to set the position of an instance along a path. 该值在0到1之间,因此如果此值为0.5,则实例将被移到路径的正中间。
path_position = random(1);
The above code sets the instance to a random position anywhere on the current path.