Class OnClickEventArgs
Inherited Members
Namespace: Slipe.Server.Peds.Events
Assembly: SlipeServer.dll
Syntax
public class OnClickEventArgs
Properties
| Improve this Doc View SourceClickedElement
The element the player clicked on. This can be null.
Declaration
public PhysicalElement ClickedElement { get; }
Property Value
Type | Description |
---|---|
PhysicalElement |
MouseButton
The mouse button that was pressed.
Declaration
public MouseButton MouseButton { get; }
Property Value
Type | Description |
---|---|
MouseButton |
MouseButtonState
The button state.
Declaration
public MouseButtonState MouseButtonState { get; }
Property Value
Type | Description |
---|---|
MouseButtonState |
ScreenPosition
Position on the screen the player clicked on.
Declaration
public Vector2 ScreenPosition { get; }
Property Value
Type | Description |
---|---|
Vector2 |
WorldPosition
Position in the world the player clicked on.
Declaration
public Vector3 WorldPosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |