import arcade # Find tile id at the specified location def desktop_aux_tileIdAt(p, x, y): sprites = arcade.get_sprites_at_point([x, y], p.sprites) if ( len(sprites) != 0 ): return sprites[0].guid #} return None #}