Anvil
Anvil.API.Events.PlaceableEvents.OnLeftClick Class Reference

Called when NwPlaceable has been mousepad (left) clicked. More...

+ Inheritance diagram for Anvil.API.Events.PlaceableEvents.OnLeftClick:
+ Collaboration diagram for Anvil.API.Events.PlaceableEvents.OnLeftClick:

Properties

NwPlayer ClickedBy = NWScript.GetPlaceableLastClickedBy().ToNwPlayer()! [get]
 Gets the NwPlayer that clicked on the NwPlaceable. More...
 
NwPlaceable Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the NwPlaceable that was left clicked. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwPlaceable has been mousepad (left) clicked.

Property Documentation

◆ ClickedBy

NwPlayer Anvil.API.Events.PlaceableEvents.OnLeftClick.ClickedBy = NWScript.GetPlaceableLastClickedBy().ToNwPlayer()!
get

Gets the NwPlayer that clicked on the NwPlaceable.

◆ Placeable

NwPlaceable Anvil.API.Events.PlaceableEvents.OnLeftClick.Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()!
get

Gets the NwPlaceable that was left clicked.


The documentation for this class was generated from the following file: