Jump to content

API Panel.Collision.TestSingle: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
 
Admin (talk | contribs)
XML import API auto-gen
Line 1: Line 1:
wiki page name
wiki page name
==Panel.CollisionTestSingle==
Tests whether an object collides with a position


Tests whether an object collides with a position
----


===Parameters===
===Parameters===
Line 21: Line 19:


===Examples===
===Examples===
====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: result = ::Panel.Collision.TestSingle(pos, test)

Revision as of 15:34, 10 May 2013

wiki page name 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

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)