Category: Landscape
    / Material
Since engine version: 5.1 OC
GBackSky
Description
Checks whether there is sky at the specified position in the landscape.
Syntax
bool GBackSky(int x, int y);
Parameters
- x:
 - X coordinate. Offset in local calls.
 - y:
 - Y coordinate. Offset in local calls.
 
Example
while(!obj->GBackSky()) obj->SetPosition(obj->GetX(),obj->GetY()-5);
Moves an object into fresh air.
      

