Question
drop in correct position
I want to make a function which makes that if you drop
something (picture1) roughly at the correct place the object goes
automatically to the right position.
So first I made a startDrag/stopDrag function and it worked.
then I tried to make the next function... it lookes like this:
if(picture1.x > -10,
picture1.x < 10,
picture1.y > -10,
picture1.y < 10) {
picture1.x == 0;
picture1.y == 0;
but it doesn't work... can someone help me?
So first I made a startDrag/stopDrag function and it worked.
then I tried to make the next function... it lookes like this:
if(picture1.x > -10,
picture1.x < 10,
picture1.y > -10,
picture1.y < 10) {
picture1.x == 0;
picture1.y == 0;
but it doesn't work... can someone help me?