Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
imageLayer = new Layer x:0, y:0, width:128, height:128
imageLayer.on "change:x", () ->
print imageLayer.x
imageLayer.on Events.Click, () ->
x: imageLayer.x + 100
time: .4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.