View source
enum abstract PlayAnimContext(String)
package funkin.backend.scripting.events
import funkin.backend.scripting.events.PlayAnimEvent
Contains all contexts possible for PlayAnimEvent
.
Variables
View in GitHub
inlineread onlyDANCE:PlayAnimContext = "DANCE"
Whenever a dance animation is played. The character's dancing wont be blocked.
View in GitHub
inlineread onlyLOCK:PlayAnimContext = "LOCK"
Locks the character's animation. Prevents the character from dancing, even if the animation ended.
View in GitHub
inlineread onlyMISS:PlayAnimContext = "MISS"
Whenever a note is missed and a miss animation will be played. Only for scripting, since it has the same effects as SING.
View in GitHub
inlineread onlyNONE:PlayAnimContext = null
No context was given for the animation. The character won't dance until the animation is finished
View in GitHub
inlineread onlySING:PlayAnimContext = "SING"
Whenever a note is hit and a sing animation will be played. The character will only dance after their holdTime is reached.