$inrect » History » Version 2
Per Amundsen, 02/23/2023 01:45 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$inrect(x,y,x,y,w,h)* |
||
4 | |||
5 | Returns [[$true]] if the point x y is inside the specified rectangle, otherwise [[$false]]. |
||
6 | |||
7 | 2 | Per Amundsen | *Parameters* |
8 | |||
9 | table(ktable). |
||
10 | |*Parameter*|*Description*| |
||
11 | | x | The first X coordinate. | |
||
12 | | y | The first y coordinate. | |
||
13 | | x | The second X coordinate. | |
||
14 | | y | The second y coordinate. | |
||
15 | | w | The width. | |
||
16 | | h | The height. | |
||
17 | |||
18 | 1 | Per Amundsen |