@captaincook
I'm very sorry!.
I don't understand the problem at first view and I give you a wrong answer.
Finlay I've found the original post and I understand.
The single problem I've see is to use arrow keys to set the triangle in position not the mouse.
I'm sorry again!