so i just figured out how to set up my game to toggle between first and 3rd person. problem is, i have to hold the key down to get it to stay in first. id love it if i could just tap the key to get it to switch. so far i have this as the part that switches it:
while (key_t == 1) {wait (1);}
{
now how can i change this part so it toggles instead of me having to hold the t key down? any help ids appreciated

and later i plan on having it so you can move the 3rd person view around with the mouse, any help to get me started there would be appreciated also. if not its cool, i can try to learn on my own