its really cool took me like five trials to survive the first wave.but after choosing a power the mouse disappears which makes it harder to press the leave button
That's odd! I can't replicate it on my end, it should only remove the regular mouse cursor when the leave button is pressed. But I'll add in some extra checks to make sure. Maybe replace it with a different in-game cursor instead of messing with hiding/unhiding the cursor.
Do you know if you had a controller plugged in perhaps? The game has controller support, but may be a bit triggerhappy with jumping into "controller mode".