Difference between revisions of "API Panel.Collision.TestSingle"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen) |
(XML import of API auto-gen) |
||
Line 21: | Line 21: | ||
====Calling in a calculation==== | ====Calling in a calculation==== | ||
* Declare a variable 'result' of type BOOL | * Declare a variable 'result' of type BOOL | ||
− | * Add to a calculation icon: result = ::Panel.Collision.TestSingle(pos, test) | + | * Add to a calculation icon: <pre class="brush:[C]">result = ::Panel.Collision.TestSingle(pos, test)</pre> |
Revision as of 15:35, 10 May 2013
<sidebar>API contents</sidebar> Tests whether an object collides with a position
Parameters
HANDLE Pos
- A component or position to focus the collision around
HANDLE Test
- An object to test collisions with
Return value
No additional information
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type BOOL
- Add to a calculation icon:
result = ::Panel.Collision.TestSingle(pos, test)