Step 4: Embedded Detector
Alright, now time for the embedded detector. Place the following Always event ABOVE the event which starts the "Gravity" loop. This is because we want to switch to the detector BEFORE we find ground level.- Always
: Set FrameSave to Image( "
" )
: Change animation sequence to Ground Detector

The final step is to resume the Jumping animation sequence and set the animation frame to the frame value stored in FrameSave. As follows...
- Always
: Change animation sequence to Jumping
: Force animation frame to FrameSave( "
" )
: Restore animation frame

Well done! You have completed the tutorial.
7