Hold the mouse to create a long enough stick to go to the next pillar!
Credit to ketchapp on their game Stick Hero