docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Horizontal Space

    The <space> tag inserts a horizontal offset, as if you inserted multiple spaces.

    You can specify the offset in pixels or font units.

    When the <space> tag touches adjacent text, it appends or prepends the offset to that text, which affects how the text wraps. If you do not want the offset to wrap independently of adjacent text, make sure to add a space character on either side of the <space> tag.

    Example:

    Give me some <space=5em> space.
    


    Adding some space

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)