Easy Asset Search

UI Position Clamp

Keep your UI elements on screen with a single method call.
UI Position Clamp Asset Image Keep your UI elements on screen with a single method call.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
FREE
Category:
ToolsGui
Developer:
a1creator
Price:
FREE
Favorites:
8
Supported Unity Versions:
2021.3.12 or higher
Current Version:
1.0
Download Size:
263.09 KB
Last Update:
Apr 3, 2025
Description:
This lightweight extension for RectTransform ensures that your UI elements never go off-screen. With one simple method call, your UI will be positioned as expected, but if it goes outside the screen bounds, it will automatically adjust to the nearest edge. Ideal for tooltips, floating buttons, pop-ups, and draggable UI elements that need to stay within view!
Technical Details:
Single script, zero hassle. No extra setup required. Lightweight and optimized. Seamless integration with any UI layout. Compatible with any RectTransform in Canvas.
Continue »

Similar Packages