This requires a webcam. Start the project, click allow. Swipe in REAL LIFE at your webcam, as if you were punching. Just don't actually attack your webcam! Beat the Enemy Ninja! This works similarly to the XBOX Kinnec except it doesn't scan you first.
The Scratch 2.0 Offline Editor (Beta) is really useful! Proof it works well.