Interaction.TryGetActiveReceiver
TryGetActiveReceiver(Uint, out UIBlockHit)
Retrieves the latest valid UIBlockHit to receive an interaction event from the provided controlID.
Declaration
public static bool TryGetActiveReceiver(uint controlID, out UIBlockHit receiverHit)
Parameters
| Type | Name | Description |
|---|---|---|
| Uint | controlID | The unique identifier of the input control. |
| UIBlockHit | receiverHit | The latest valid UIBlockHit created with the same |
Returns
| Type | Description |
|---|---|
| bool | If a receiver is found and the interaction is valid, returns true. If the receiver was not found or the interaction has been canceled, returns false. |