Jump to content

API Panel.Collision.TestSingle: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 16: Line 16:
[[Variable types|HANDLE]] ''Test''
[[Variable types|HANDLE]] ''Test''
:An object to test collisions with
:An object to test collisions with


==Return value==
==Return value==
Line 21: Line 22:


''<span style="color:red;">No additional information</span>''
''<span style="color:red;">No additional information</span>''





Revision as of 01:53, 12 May 2013

<sidebar>API contents</sidebar> Tests whether an object collides with a position

Class hierarchy

Panel

Collision
TestSingle

Parameters

HANDLE Pos

A component or position to focus the collision around

HANDLE Test

An object to test collisions with


Return value

BOOL

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)

No additional information