# Help my tooltip goes off edge of screen

**URL:** https://forum.kirupa.com/t/help-my-tooltip-goes-off-edge-of-screen/171633
**Category:** Uncategorized
**Created:** [December 6, 2005, 11:49pm UTC](https://forum.kirupa.com/t/help-my-tooltip-goes-off-edge-of-screen/171633 "2005-12-06T23:49:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kippereye](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kippereye](https://forum.kirupa.com/u/kippereye)
#### Post date: [December 6, 2005, 11:49pm UTC](https://forum.kirupa.com/t/help-my-tooltip-goes-off-edge-of-screen/171633/1 "2005-12-06T23:49:04Z")

</div>

hi everyone

I have a tooltip that follows the mouse, but i need to to figure out where the edges of the screen are and always keep the tootip on the screen. Its something to do with screen width and height but i cant figure it out .

If anyone can help i`d be greatful

cheers

kippereye
