# Help and Questions

**URL:** <https://forum.makecode.com/t/help-and-questions/1335>\
**Category:** Help\
**Created:** [March 5, 2020, 10:48pm UTC](https://forum.makecode.com/t/help-and-questions/1335 "2020-03-05T22:48:55Z")\
**Posts on this page:** 8\
**Page:** 13

<div class="post-metadata">

**Author:** ![Not-a-creepy-doll](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not-a-creepy-doll/32/28255_2.png) [@Not-a-creepy-doll](https://forum.makecode.com/u/Not-a-creepy-doll)\
**Post date:** [August 24, 2026, 9:50pm UTC](https://forum.makecode.com/t/help-and-questions/1335/251 "2026-08-24T21:50:35Z")

</div>

Thank you Alex, one more thing though. I also want it to switch which corner it is attached to so it’s always visible. I meant to add that in the original post but just forgot to.

I found one method that works, simply swapping the left, right, top, and bottom, however it sorta cause a strobe effect unless you leave the cursor still so I was wondering if there was another way or a fix to this.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [August 24, 2026, 11:04pm UTC](https://forum.makecode.com/t/help-and-questions/1335/252 "2026-08-24T23:04:04Z")

</div>

Can you send your current code? I want to see what you have! Sounds like it could be used to make tooltips when you hover over an object which is cool.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [August 25, 2026, 2:28am UTC](https://forum.makecode.com/t/help-and-questions/1335/253 "2026-08-25T02:28:54Z")

</div>

Hi! This is happening because tilemap "location"s are objects holding the column and row information. You can unpack this data with the location column/row block:

 ![Screenshot 2026-08-24 at 7.32.15 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/3/23d4692ecf372a969e63880678af37d03e336593.png)

---

<div class="post-metadata">

**Author:** ![Not-a-creepy-doll](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not-a-creepy-doll/32/28255_2.png) [@Not-a-creepy-doll](https://forum.makecode.com/u/Not-a-creepy-doll)\
**Post date:** [August 25, 2026, 2:36am UTC](https://forum.makecode.com/t/help-and-questions/1335/254 "2026-08-25T02:36:51Z")

</div>

Made a separate thing just showcasing the code.

> **[Tooltip test (epilepsy warning)](https://arcade.makecode.com/S40272-97781-19004-05851)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

It doesn’t work all the time and, like I said, constantly switches if you move while near a wall. If you can find a way to refine/fix it that would be coolio, especially cause it would be a sorta preset for anyone else who wants to make a tooltip thing

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [August 25, 2026, 10:17pm UTC](https://forum.makecode.com/t/help-and-questions/1335/255 "2026-08-25T22:17:46Z")

</div>

> **[Tooltip test (no more epilepsy warning!)](https://arcade.makecode.com/S68941-69052-52989-20333)**
>
> Hocus Pocus I love math

Ok I have it set up so that it should only switch from right to left when the left side has enough space to display it fully _and_ it’s touching the right side, so the code will work for smaller boxes/bigger screen resolutions.

This solution _does_ ignore the width/height of the cursor sprite, so it does clip a bit into the side. I just couldn’t be bothered to fix that.

---

<div class="post-metadata">

**Author:** ![Not-a-creepy-doll](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not-a-creepy-doll/32/28255_2.png) [@Not-a-creepy-doll](https://forum.makecode.com/u/Not-a-creepy-doll)\
**Post date:** [August 25, 2026, 10:18pm UTC](https://forum.makecode.com/t/help-and-questions/1335/256 "2026-08-25T22:18:20Z")

</div>

Okay, I made another that uses the cursor’s position instead.

> **[Tooltip test #2](https://arcade.makecode.com/S02626-70986-54062-39555)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

It’s alright imo, you’d have to set the text to always stay on screen for it to not clip however if you come up with a better version woof^2 please share. I also don’t know how to make it dissappear when not Hovering over a menu item

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [August 25, 2026, 11:48pm UTC](https://forum.makecode.com/t/help-and-questions/1335/257 "2026-08-25T23:48:35Z")

</div>

You can just check if the cursor is not right of the menu left, left of the menu right, lower than the menu top and higher than the menu bottom. This will include any title text but who cares.

---

<div class="post-metadata">

**Author:** ![Not-a-creepy-doll](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not-a-creepy-doll/32/28255_2.png) [@Not-a-creepy-doll](https://forum.makecode.com/u/Not-a-creepy-doll)\
**Post date:** [August 26, 2026, 4:27pm UTC](https://forum.makecode.com/t/help-and-questions/1335/258 "2026-08-26T16:27:51Z")

</div>

DONE!

> **[Tooltip test #3 \[Finalized\]](https://arcade.makecode.com/S39951-64159-40701-29231)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Basically mixed our two versions together and it works pretty good  
Teamworks makes the… uh something something, I fogot

[Previous page](https://forum.makecode.com/t/help-and-questions/1335.md?page=12)
