# Interactable objects

**URL:** <https://forum.makecode.com/t/interactable-objects/31690>\
**Category:** Help\
**Created:** [November 13, 2024, 11:06pm UTC](https://forum.makecode.com/t/interactable-objects/31690 "2024-11-13T23:06:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zef/32/28163_2.png) [@zef](https://forum.makecode.com/u/zef)\
**Post date:** [November 13, 2024, 11:06pm UTC](https://forum.makecode.com/t/interactable-objects/31690/1 "2024-11-13T23:06:05Z")

</div>

Hello Im making a game and need help with making objects i can interact with when Im close to them. Anyone know how i can do this?

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [November 13, 2024, 11:47pm UTC](https://forum.makecode.com/t/interactable-objects/31690/2 "2024-11-13T23:47:22Z")

</div>

i can help but how close do we need to be the tile and wwhat iteraction would you like?  
Then I will help you!

---

<div class="post-metadata">

**Author:** ![Skittlesaersuper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/skittlesaersuper/32/17209_2.png) [@Skittlesaersuper](https://forum.makecode.com/u/Skittlesaersuper)\
**Post date:** [November 13, 2024, 11:53pm UTC](https://forum.makecode.com/t/interactable-objects/31690/3 "2024-11-13T23:53:47Z")

</div>

Welcome! If your on a titlemap, you could maybe put even slightly different tiles around it and use a _When Sprite Overlaps with tile_ block to make it so something happens when the player Overlaps with the tile that surrounds it. Hope this helps 😅

---

<div class="post-metadata">

**Author:** ![zef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zef/32/28163_2.png) [@zef](https://forum.makecode.com/u/zef)\
**Post date:** [November 13, 2024, 11:53pm UTC](https://forum.makecode.com/t/interactable-objects/31690/4 "2024-11-13T23:53:52Z")

</div>

I just need an interaction that can run some dialogue when interacted with.

---

<div class="post-metadata">

**Author:** ![zef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zef/32/28163_2.png) [@zef](https://forum.makecode.com/u/zef)\
**Post date:** [November 14, 2024, 12:32am UTC](https://forum.makecode.com/t/interactable-objects/31690/5 "2024-11-14T00:32:08Z")

</div>

Ok thanks I’ll try it

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [November 14, 2024, 12:36am UTC](https://forum.makecode.com/t/interactable-objects/31690/6 "2024-11-14T00:36:17Z")

</div>

oh just copy this and change it accordingly!

 ![Screenshot 2024-11-13 6.14.06 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/7/7732b1756565e8025b8b0cca96a699609243386e.png)

---

<div class="post-metadata">

**Author:** ![zef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zef/32/28163_2.png) [@zef](https://forum.makecode.com/u/zef)\
**Post date:** [November 14, 2024, 5:14am UTC](https://forum.makecode.com/t/interactable-objects/31690/7 "2024-11-14T05:14:12Z")

</div>

Thanks it worked really well for me. I’ll see if it can work with raycasting.
