I have uploaded an example to here:
docs.google.com/file/d/0B1sXiYO … sp=sharing
If the X;Y position of mouse is equal to X;Y position of object and the left mouse button is pressed, I want to delete the object but it doesn’t delete.
I have uploaded an example to here:
docs.google.com/file/d/0B1sXiYO … sp=sharing
If the X;Y position of mouse is equal to X;Y position of object and the left mouse button is pressed, I want to delete the object but it doesn’t delete.
No, no, there is no bug here: Your object hasn’t integer coordinates, so the mouse coordinates are never equal to the object coordinates.
You can check the position of the object in the properties grid ( Double click on the object on the scene ).
After setting the coordinates to integers, I was able to delete the object. ( You still need to be very precise with the mouse )
By the way, you do not need to use “If all these conditions are true” as it is the default behavior when using a list of conditions
I thought it worked before
Maybe I remember wrong.
Thanks anyway.
I used the And condition to make sure…