MoveX
INFO
Inherits: TypedCommand
Move the object along the y axis.
Example:
ts
new MoveX({
startTime: 0,
endTime: 1000,
startValue: 0,
endValue: 100,
easing: 3
})Constructor details
ts
new MoveX({
startTime,
endTime,
startValue,
endValue,
easing
})Parameters:
startTime(number | string | Timestamp) (Timestamp): The start time of the animation.endTime(number | string | Timestamp | undefined) (Timestamp): The end time of the animation. Defaults toundefined.startValue(number): The starting X position.endValue(number | undefined): The ending X position. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for the moveX animation. Defaults toundefined.
Properties
Properties inherited from Command:
Properties inherited from TypedCommand: