ScriptInterface:CountSelectedShapes(updateCount)

Version added: before 9.5

Returns the number of selected shapes in the current vector layer

ArgumentTypeDescriptionDefaultVer
updateCountboolfalse< 9.5

Return type (int32): number of selected shapes

Returns the number of selected shapes in the current vector layer.