This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 4rpl:commands:getpointerterraincoords [2025/02/14 14:57] – external edit 127.0.0.1 | 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 ===== | ||