Grid.getSumDisk() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
location
No
radius
{int}
No

Returns

{real|undefined}

Description

Return the sum of numerical values found in cells within the specified disk of this Grid. Strings containing only numbers will also be included. Other values will be ignored. If this Grid does not exist or the disk contains no values that can be summed, {undefined} will be returned.

⚠️ **GitHub.com Fallback** ⚠️