# Sprite cant move if there is an object

**URL:** <https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586>\
**Category:** Questions about Thunkable X\
**Created:** [April 28, 2024, 2:42pm UTC](https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586 "2024-04-28T14:42:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayla.2023013](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kayla.2023013](https://community.thunkable.com/u/kayla.2023013)\
**Post date:** [April 28, 2024, 2:42pm UTC](https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586/1 "2024-04-28T14:42:17Z")

</div>

Hello, Does anyone know how to make the sprite stop (cant) move if there’s an object in front of it? Like if in front of the sprite there is a tree, then it cant move forward, we have to move to another way.

---

<div class="post-metadata">

**Author:** ![tiny\_apps](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tiny\_apps](https://community.thunkable.com/u/tiny_apps)\
**Post date:** [April 29, 2024, 9:38pm UTC](https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586/2 "2024-04-29T21:38:07Z")

</div>

You will need to create two type of sprites and then use Sprite 1 collides with Sprite 2 block you can change either it to stop or change its direction

---

<div class="post-metadata">

**Author:** ![kayla.2023013](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kayla.2023013](https://community.thunkable.com/u/kayla.2023013)\
**Post date:** [April 30, 2024, 12:54pm UTC](https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586/3 "2024-04-30T12:54:41Z")

</div>

Can you show me how? The blocks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [July 29, 2024, 12:54pm UTC](https://community.thunkable.com/t/sprite-cant-move-if-there-is-an-object/2973586/4 "2024-07-29T12:54:53Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
