Recommended Posts

//  A drop zone
    var zone =, 300, 300, 300).setDropZone();

    //  Just a visual display of the drop zone
    var graphics =;
    graphics.lineStyle(2, 0xffff00);
    graphics.strokeRect(zone.x + zone.input.hitArea.x, zone.y + zone.input.hitArea.y, zone.input.hitArea.width, zone.input.hitArea.height);


Why not 

graphics.strokeRect(zone.x , zone.y , zone.width, zone.height);

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.