drag & drop – dropped in correct place

A quick example for someone on the forums of how you can check if an object with “drag & drop” behaviour is dropped onto the correct object/position.  There a 2 ways of doing this in the example:

  1. Checks if the 2 objects “animation frames” are equal to each other – (toggled disabled)
  2. Checks if the 2 objects “local variables” are equal to each other

The example also displays text to show if you did or didn’t place the object in the correct place.

DOWNLOAD

Advertisements

4 thoughts on “drag & drop – dropped in correct place”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s