HitTest

<< Click to Display Table of Contents >>

Manual > Control Reference > Common to all controls > Common methods >

HitTest


 

Determines whether the object itself overlaps with the specified object or coordinate value.

 


syntax

HitTest(

         object

         )

 


Parameters

 

object

 

Type:

Object

 

The control that makes the decision.

 

Return Value

 

 

Type:

Boolean

 

FALSE - they do not overlap. TRUE - they do overlap.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Syntax 2

HitTest(

         x,

         y

         )

 


Parameters

 

x

 

Type:

Number

 

X coordinate

 

y

 

Type:

Number

 

Y coordinate

 

Return Value

 

 

Type:

Boolean

 

FALSE - they do not overlap. TRUE - they do overlap.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 


reference