Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (RegisterRed.hitTestPoint(mouseX,mouseY,true)) {
- addChild(RegisterGreen);
- RegisterGreen.x= RegisterRed.x
- RegisterGreen.y= RegisterRed.y - 1
- RegGreen = 1
- }
- if (RegisterRed.hitTestPoint(mouseX,mouseY,false)) {
- if (RegGreen == 1) {
- removeChild(RegisterGreen);
- RegGreen = 0
- }
- }
- ^Just a snippit. Everything else works. The issue is some kinda loop thingy that's making this script do nothing. I'm sure you'll notice it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement