Should probably make it only trigger once until the mouse button isn’t pressed, but ye that’s a good start
Dunno how OP couldn’t figure it out originally tho, since it’s a pretty simple concept? Oh well.