Use the arrow keys (Left and right) to use the lightsaber. Space key to retract the double lightsaber and space again to extend the saberstaff. I just made this to test the physics of a lightsaber. (The sounds, the motion, the looks, ect.)
Thanks to @Alliance for the original project https://scratch.mit.edu/projects/1914333 (Lightsaber!) Please heart and star! (And also, support the original! It's pretty good!)