How can i make a projcetile so that when i a certain key isn't pressed it goes to and points towards a sprites but when i the key is pressed it points away and glides toward the edge?
when (green flag) clicked forever if <key ____ pressed> point in direction (whatever the direction is supposed to be) else poinst towards [sprite1 (or whatever sprite)]