button(x, y, key, callback, callbackContext, overFrame, outFrame, downFrame, upFrame) → {Phaser.Button}
Creates a new Button object.
Parameters
Name Type Argument Description x number <optional> X position of the new button object. y number <optional> Y position of the new button object. key string <optional> The image key as defined in the Game.Cache to use as the texture for this button. callback function <optional> The function to call when this button