Class OnClickedEventArgs
Inherited Members
Namespace: Slipe.Shared.Elements.Events
Assembly: SlipeShared.dll
Syntax
public class OnClickedEventArgs
Properties
| Improve this Doc View SourceMouseButton
The mouse button that was clicked with
Declaration
public MouseButton MouseButton { get; }
Property Value
Type | Description |
---|---|
MouseButton |
MouseButtonState
Whether it was an up or a down click
Declaration
public MouseButtonState MouseButtonState { get; }
Property Value
Type | Description |
---|---|
MouseButtonState |
Player
The player that clicked on the element
Declaration
public SharedPed Player { get; }
Property Value
Type | Description |
---|---|
SharedPed |
Position
Get the 3D position of the click
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |