Skip to content
Version 2.32.0
↓ Get the launcher

TextAreaElement.ReadOnly property

Read-only display (uGUI InputField.readOnly): the user can still focus the box, place the caret, select with mouse or keyboard (Shift+arrows, Ctrl+A) and copy (Ctrl+C), but typing, paste, cut and delete are blocked. Scrollbar, wheel and caret-follow keep working; focus suppresses the game’s keys as usual, so Ctrl+C never reaches a game binding. The box bg is drawn slightly more translucent as a subtle “not editable” hint. Default false = the normal editable box, unchanged. An init property (binary-compatible).

public bool ReadOnly { get; set; }