| Blitzbasic mapengine function | ||||||||||||
| value=layer_hex1_coord (layer.layer, x, y [,check]) | ||||||||||||
| Description | ||||||||||||
| Calculate tile-coordinates from screen-coordinates. You need layer type handle (search with layer_find). | ||||||||||||
| Parameter | ||||||||||||
|
||||||||||||
| Return value | ||||||||||||
|
0=outside, 1=inside (only if check is enabled) change global variables layer_x + layer_y |