This site requires JavaScript, please enable it in your browser!
Greenfoot back
Mint_Green
Mint_Green wrote ...

2014/2/25

Drag and Drop actors?

Mint_Green Mint_Green

2014/2/25

#
Hi, For a game I'm working on I need drag and drop actors. Is there any way to do this in Greenfoot? Thanks, I appreciate help! Regards, mint_green
danpost danpost

2014/2/25

#
Use the Greenfoot class method 'mouseDragged':
if (Greenfoot.mouseDragged(this)) // remove actor, get mouse coords and add actor there
You need to login to post a reply.