Condition_IsInWaterGridByImpactPoint
Description
Checks whether the impact point (target location) is within a swimming pool located inside a site.
Water areas located outside of sites (e.g., the sea) are excluded.
This condition uses the target location directly and does not depend on the BaseObject.
Returns false immediately if the target location is the zero vector.
Parameters
| Parameter | Description |
|---|
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Checks whether the clicked impact point is inside a site swimming pool | Self | IsInWaterGridByImpactPoint | Equal |
| Checks whether the impact point is NOT inside a site swimming pool | Self | IsInWaterGridByImpactPoint | NotEqual |
| Checks whether a target location lies within a pool grid in a site | Target | IsInWaterGridByImpactPoint | Equal |