docs.unity3d.com
    Show / Hide Table of Contents

    Horizontal Position

    The <pos> tag gives you direct control over the horizontal caret position. This works best with horizontal alignment.

    The <pos> tag's position in the line has no effect on the caret position.

    This tag is best used with left alignment.

    You can specify the horizontal position in pixels, font units, or percentages.

    Example:

    at <pos=75%>75%
    at <pos=25%>25%
    at <pos=50%>50%
    at 0%
    


    Setting caret positions

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023