Function get_px_position

  • Gets the px position of a given position in tile.

    Parameters

    • tile_pos: number
    • tile_size: number

      the tile size.

    Returns number

    returns the px position.