Repository navigation
Available Events
Saritahh edited this page Oct 28, 2026
·
5 revisions
Since you probably don't wanna go find the geode Enums file in the source every single time you're working on a pack, these are all the game events you can use in triggerOn / cancelOn (and as event IDs) in spr-pack.json, and in triggerOn in sounds.json. They're the events GD itself uses for stuff like the Event Trigger, and PlayerSprites just depends on them.
Unlike another mod that tried to reinvent the wheel with stuff like this. Cough.
A few things to note:
- Names are case sensitive and must match exactly as written here.
- An event only counts for the player it happened to, and the pack uses the gamemode that player is currently in. So
WavePushis only relevant when you're a Wave,RobotBoostStartwhen you're a Robot, and so on. Duals work as expected, each player reacts to their own events. (Separate P1/P2 sprites aren't supported yet, they ARE planned though!) - Some events are General events and others are specific versions of the same thing, like
OrbActivatedandYellowOrb. Use the specific ones if you want different animations per orb, or the general one as an umbrella for all Orbs/Pads. - Some events don't have an umbrella event to catch all of them, such as Landings. For this, the mod adds its own! Check Mod Shortcuts & Special Events.
- The most reliable way to know when an event is ACTUALLY triggered is to playtest. From experience, don't trust these names fully. Takes a few minutes to verify and be sure.
TinyLandingFeatherLandingSoftLandingNormalLandingHardLandingHitHeadFallLowFallMedFallHighFallVHighFallSpeedLowFallSpeedMedFallSpeedHigh
Shortcuts:
-
Mod:AnyLandingcovers all five landings. -
Mod:AnyFallcovers the fourFall*events. -
Mod:FallSpeedscovers the threeFallSpeed*events.
NormalJumpUFOJumpJumpPushJumpReleaseLeftPushLeftReleaseRightPushRightRelease
OrbTouchedOrbActivatedYellowOrbPinkOrbRedOrbGravityOrbGreenOrbDropOrbCustomOrbDashOrbGravityDashOrbSpiderOrbTeleportOrbDashStartDashStop
Shortcut: Mod:BoostOrbs covers YellowOrb, PinkOrb, RedOrb and GreenOrb.
PadActivatedYellowPadPinkPadRedPadGravityPadSpiderPad
GravityInvertedGravityRestoredPortalGravityFlipPortalGravityNormalPortalGravityInvertPlayerReversed
PortalNormalPortalShipPortalBallPortalUFOPortalWavePortalRobotPortalSpiderPortalSwing
PortalFlipPortalUnFlipPortalNormalScalePortalMiniScalePortalDualOnPortalDualOffPortalTeleport
RobotBoostStartRobotBoostStopShipBoostStartShipBoostEndSpiderTeleportBallSwitchSwingSwitchWavePushWaveRelease
CheckpointCheckpointRespawnDestroyBlockUserCoinPickupItemTeleported