MotionEvent
Example
script.addListener("MotionEvent", (event) => {
// make the player 50% faster event.x *= 1.5;
event.z *= 1.5;
});Extends
Properties
x
y
z
Methods
cancel()
isCancelled()
Last updated