s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
DragEvent
chevron_left
Classes
class
DragEvent
search
Constructors
functions
DragEvent
Fields
crop_din
LocalGrabPosition
crop_din
LocalPosition
crop_din
MouseDelta
crop_din
ScreenGrabPosition
crop_din
ScreenPosition
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.