API Panel.Position.Math.GetDiff

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Gets the difference between two positions

Class hierarchy

Panel

Position
Math
GetDiff

Parameters

HANDLE Pos

Position to act as the minuend to calculate position from

HANDLE Sub

The position to subrtact from Pos

HANDLE CoordSpace

Position space to calculate the difference in
The default value for this parameter is: this


Return value

HANDLE

Returns the difference between two positions


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Panel.Position.Math.GetDiff(pos, sub, coordspace)

No additional examples