EDIT: NVM! I can actually use transform.localPosition to find the pixel position for the gui...derp!
Apologizing in advance for my English and that I'm new to programming, Unity 3D and NGUI.
Currently I'm trying to set my draggable window to stay within the screen and not exceed the edges of the width or height while dragging.
I've tried setting its
transform.position, which doesn't quite work, instead it goes way out of sight.
I've then did some research and tried using the
NGUIMath.CalculateAbsoluteWidgetBounds, and found out that my window's position are between -1.7 to 1.7 instead of the actual screen pixels?
Anyways, can someone please help me with this matter? I would like to know the max width and height that's relative to my draggable window's position.
I am able to script the built-in Unity OnGUI's drag window to not exceed the
Screen.width and
Screen.Height, but have no idea how to do it with NGUI! D:
I'm sorry if this is a newb question to ask and thanks all for the time in reading this!

P.S. I bought NGUI, and it made my life so much easier.