s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
InputFocus
chevron_left Classes
class
InputFocus

Constructors

functionsInputFocus

Static Properties

data_objectCurrentdata_objectNext

Static Methods

functionsClearfunctionsSet
InputFocus
Handles input focus for Sandbox.UI.Panels.
class Sandbox.UI .
Sandbox.Engine

build Constructors 1

InputFocus ()

data_object Static Properties 2

Current
Panel
The panel that currently has input focus.
Next
Panel
The panel that will have the input focus next.

functions Static Methods 2

Clear (panel)
bool
Clear focus away from this panel.
Set (panel)
bool
Set the focus to this panel (or its nearest ancestor with AcceptsFocus). Note that Sandbox.UI.InputFocus.Current won't change until the next frame.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter