~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:getDarkCell|Get]]
* [[4rpl:commands:setDarkCell|Set]]
:!: Available in version 2.5 and later.
====== GetDarkCell ======
GetDarkCell(<-x, <-y)
===== Description =====
Retrieves the fog or darkness level of the cell at the specified coordinates (`x`, `y`). Note that darkness may be stacked by multiple commands or overlapping Dark Tower fields.
:NOTE: Beacons do not subtract darkness level.
===== Examples =====
# need worked example
GetDarkCell(<-x, <-y) ->darkness
<=[[4rpl:start| Index]]