you can use region_check for checking if the ball is in a specific area. create a region in WED with the one name for each goal (eg. "Goal A", "Goal B")
now you can check with

Code:
if(region_check("Goal A", ent.x, ent.x) != 0)
{
// Ball is in the region/goal
}



Visit my site: www.masterq32.de