Hey! This is another part for my survival game. The player has curtains to shut the bad people out, and I want to prevent them from keeping them closed forever. So, what I'm trying to do is when the player holds down LMB(LeftMouseButton), the curtains close. But when they release their mouse button, the curtains open. I've searched the internet for ways to do this, but I haven't found a single one. Can anyone help me with this?
Any working answer is appreciated, thanks!

1 comment
no its a CLICK detector i recomend using function onButton1Down(mouse) see its not that hard :)