# Hello Neighbor?

**URL:** <https://forum.makecode.com/t/hello-neighbor/4936>\
**Category:** Help\
**Created:** [December 11, 2020, 2:06am UTC](https://forum.makecode.com/t/hello-neighbor/4936 "2020-12-11T02:06:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterGorp](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MisterGorp](https://forum.makecode.com/u/MisterGorp)\
**Post date:** [December 11, 2020, 2:06am UTC](https://forum.makecode.com/t/hello-neighbor/4936/1 "2020-12-11T02:06:23Z")

</div>

Could you possibly port over a game similar to Granny or Hello Neighbor? How could the main features be implemented such as hiding spots, enemy FOV, keys, puzzles, etc. And I want to try doing it all with blocks.

If this is too complicated, I understand, but if there is at least a way to make a hiding spot to stop an enemy from chasing you then please tell me

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [December 11, 2020, 4:04am UTC](https://forum.makecode.com/t/hello-neighbor/4936/2 "2020-12-11T04:04:32Z")

</div>

It is possibly i’m sure! for the hiding spot i think you can set a `hiding` variable and make it false, ( `set hiding to false` ) then when the sprite overlaps a hiding spot then you can make the code so it’ll change hiding to `true`. if that doesn’t make sense, please tell me!!

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [December 11, 2020, 5:51am UTC](https://forum.makecode.com/t/hello-neighbor/4936/3 "2020-12-11T05:51:41Z")

</div>

> [@Unlocking doors](https://forum.makecode.com/t/unlocking-doors/3899):
>
> Just Unlock Them!!!

Well this is my unlocking doors function.

---

<div class="post-metadata">

**Author:** ![MisterGorp](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MisterGorp](https://forum.makecode.com/u/MisterGorp)\
**Post date:** [December 11, 2020, 4:51pm UTC](https://forum.makecode.com/t/hello-neighbor/4936/4 "2020-12-11T16:51:26Z")

</div>

Thank you! I kinda knew how I could do that but how would that make the enemy stop following you and start kinda walking around aimlessly?

---

<div class="post-metadata">

**Author:** ![MisterGorp](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MisterGorp](https://forum.makecode.com/u/MisterGorp)\
**Post date:** [December 11, 2020, 4:51pm UTC](https://forum.makecode.com/t/hello-neighbor/4936/5 "2020-12-11T16:51:29Z")

</div>

Haha I was looking at that right after I made this post! Thanks!

---

<div class="post-metadata">

**Author:** ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)\
**Post date:** [December 11, 2020, 5:43pm UTC](https://forum.makecode.com/t/hello-neighbor/4936/6 "2020-12-11T17:43:18Z")

</div>

I think you could make it maybe on an `on game update` where it checks if hiding is set to true and if it is, it’ll run code where it wanders around. Of course maybe instead of using an on game update though, you could just set it to when hiding is set to true, then the code would run to make the enemy stop searching. Sorry if this doesnt make sense, I don’t know how to explain it!

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [December 11, 2020, 6:17pm UTC](https://forum.makecode.com/t/hello-neighbor/4936/7 "2020-12-11T18:17:58Z")

</div>

> [@MisterGorp](#):
>
> If this is too complicated, I understand, but if there is at least a way to make a hiding spot to stop an enemy from chasing you then please tell me

Check out the game ’ [hideNseek](https://arcade.makecode.com/95701-95562-07975-72681)’ which @felixtsu posted here: [Sensing sprites - #7 by felixtsu](https://forum.makecode.com/t/sensing-sprites/4822/7)

---

<div class="post-metadata">

**Author:** ![MisterGorp](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MisterGorp](https://forum.makecode.com/u/MisterGorp)\
**Post date:** [December 11, 2020, 7:26pm UTC](https://forum.makecode.com/t/hello-neighbor/4936/8 "2020-12-11T19:26:22Z")

</div>

No, I understand. Thanks for helping!

---

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [December 12, 2020, 3:22am UTC](https://forum.makecode.com/t/hello-neighbor/4936/9 "2020-12-12T03:22:47Z")

</div>

Finding out that would be too much while replying, I’ve created a new [topic](https://forum.makecode.com/t/sneaking-demo/4961), hope it’ll be helpful.
