RealFairy = Tile:extend{ image = 'data/realfairy.png', carryingPlayer = true, onUpdate = function (self, dt) -- TODO: move player to self if self.carryingPlayer then the.player.x = self.x the.player.y = self.y end end }