# Defold Rendy

**URL:** <https://forum.defold.com/t/defold-rendy/76000>\
**Category:** The Defoldmine\
**Created:** [February 15, 2024, 9:32pm UTC](https://forum.defold.com/t/defold-rendy/76000 "2024-02-15T21:32:31Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![andrew-flick](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/andrew-flick/32/27062_2.png) [@andrew-flick](https://forum.defold.com/u/andrew-flick)\
**Post date:** [March 27, 2024, 11:17am UTC](https://forum.defold.com/t/defold-rendy/76000/6 "2024-03-27T11:17:28Z")

</div>

In this you are passing a world coordinate into screen\_to\_world() which probably fails because it is not in the correct coordinate space and will fail the call to is\_within\_viewport().

I have a related question [here](https://forum.defold.com/t/why-does-rendy-screen-to-world-take-a-3d-vector/76431).

---

_[View the full topic](https://forum.defold.com/t/defold-rendy/76000)._
