Well I'm not sure what the issue is..
You probably want to select a sprite first and on enter key have the actions performed..
So adding a boolean instance variable selected would be a simple option..
If you use instances of the same object you could give them a second variable in text form to describe the function of that instance.
Deselect all sprites on key pressed and select only the one you "move" to..
on enter key pressed perfrm the actions referenced by the function of that instance object..