kts.IsDoorOpen

Name

kts.IsDoorOpen – determine whether a door or chest tile is currently open

Synopsis

result = kts.IsDoorOpen(pos)

Description

If there is a door or chest tile at position pos, then this function returns true if the tile is open, or false if it is closed.

If there is not a door or chest at pos, this function does not return any values.

Errors

An error is raised if pos is not a valid map position.

See Also

kts.CloseDoor

kts.OpenDoor

kts.OpenOrCloseDoor

kts.Tile