Instance Method

tileRowIndex(fromPosition:)

Returns the tile map node object’s tile row index for the specified position in points.

Declaration

func tileRowIndex(fromPosition position: CGPoint) -> Int

Parameters

position

The position in the tile map to check.

Return Value

The tile map node object’s tile row index for the specified position.