I want the touch or mouse presses a sprite

I want that when the touch or mouse presses a sprite, increase the position Y of this sprite

http://phaser.io/examples/v3/view/input/game-object/on-down-event

sprite.setInteractive()

sprite.on(‘pointerup’, () => {
sprite.y -= 50
})