myLayer.on "change:x", "change:y", ->

in Ruby we have eventNames = [*eventNames] but I don't know what that is in coffeescript.