Open main menu

Difference between revisions of "AGIWiki/center.posn"

m
Line 16: Line 16:
The region to be tested is bounded by (X1, Y1) - (X2, Y2).
The region to be tested is bounded by (X1, Y1) - (X2, Y2).


The position test commands ('''[[AGIWiki/posn|posn]]''', '''center.posn''', '''[[AGIWiki/right.posn|right.posn]]''', and '''[[AGIWiki/obj.in.box|obj.in.box]]''' are used to determine if a screen object's position is within a certain area.
The position test commands ('''[[AGIWiki/posn|posn]]''', '''center.posn''', '''[[AGIWiki/right.posn|right.posn]]''', and '''[[AGIWiki/obj.in.box|obj.in.box]]''') are used to determine if a screen object's position is within a certain area.


== Example ==
== Example ==
885

edits