I ´ve diferent object than the player can move, rotate, scale but i want put one more function : destroy object.
How can i do for know the last object selected for player and if the player decide not use it and destroy it.
Now the only soluce is one button for family object (bar , circle, rectangle) but want one only button with this function"destroy last object selected for player/mouse"
thanks.