Vertex Docs

InputField

Description: InputField is an upgraded and highly customizable text input component designed for UI applications and game editors. It allows users to enter text, supports placeholder hints, and offers full control over fonts, colors, and sizing.

Features

Example: Usage

from VertexEngine import VertexUI

input_field = VertexUI.InputField(
    placeholder="Enter your name...",
    width=300,
    height=40,
    text_color=(255, 255, 255),
    bg_color=(30, 30, 30),
    font_name="Arial",
    font_size=16
)

Parameters

Returns

An InputField instance that stores and provides access to the user-entered text.

Notes