Files
CodenameEngine/source/funkin/backend/scripting/events/PlayAnimEvent.hx
T
2024-04-12 02:36:46 +02:00

28 lines
534 B
Haxe

package funkin.backend.scripting.events;
final class PlayAnimEvent extends CancellableEvent {
/**
Name of the animation that's going to be played.
**/
public var animName:String;
/**
Whenever the animation will be forced or not.
**/
public var force:Bool;
/**
Whenever the animation will play in reverse or not
**/
public var reverse:Bool;
/**
The frame at which the animation will start playing
**/
public var startingFrame:Int = 0;
/**
Context of the animation
**/
public var context:PlayAnimContext;
}