FixEditBoxToScreen

Description

By default sprites and edit boxes are created in world coordinates and SetViewOffset can be used to move around the world. Use this command to instead fix the edit box to the screen so it will move with the viewport when the viewport is moved around. You can still reposition an edit box that is fixed to the screen, it only affects what happens when the viewport is moved.

Definition

FixEditBoxToScreen( index, fix )

Parameters