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
DragEvent
chevron_left Classes
class
DragEvent

Constructors

functionsDragEvent

Fields

crop_dinLocalGrabPositioncrop_dinLocalPositioncrop_dinMouseDeltacrop_dinScreenGrabPositioncrop_dinScreenPosition
DragEvent
class Sandbox.UI .account_tree extends PanelEvent
Sandbox.Engine

build Constructors 1

DragEvent (event_name, active, localDragStart, globalDragStart)

crop_din Fields 5

LocalGrabPosition
Vector2
The position on the Target panel where the drag started
LocalPosition
Vector2
The current mouse position relative to target
MouseDelta
Vector2
For ondrag event - the delta of the mouse movement
ScreenGrabPosition
Vector2
The position relative to the screen where the drag started
ScreenPosition
Vector2
The current position relative to the screen

Inheritance

PanelEvent
DragEvent
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