FixTextToScreen

Description

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

Definition

FixTextToScreen( iTextIndex, mode )

Parameters