Move the mouse to move Skeletron. Space to spin Skeletron's skull. His arms will move based on his height. This project is currently being reworked.
Credit to Re-Logic for Terraria and Skeletron. Also, huge credit to @stdpt for the movement code, check out their Terraria Boss Simulator here: https://scratch.mit.edu/projects/159315437/