This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:getpointerterraincoords [2024/09/10 18:57] – Although this is about Cells, its not a ceil'ed integer. Vertu | 4rpl:commands:getpointerterraincoords [2025/06/10 06:04] (current) – Failure case mentioned Vertu | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| :NOTE: The returned coordinates are floats, not integers. If you wish to use this API to obtain cell coordinates rather than world-space, | :NOTE: The returned coordinates are floats, not integers. If you wish to use this API to obtain cell coordinates rather than world-space, | ||
| This API also works outside the map boundaries. | This API also works outside the map boundaries. | ||
| + | |||
| + | Should the API fail to find a result, such as the mouse being pointed into the sky, the resulting cells are -1. | ||
| ===== Examples ===== | ===== Examples ===== | ||