Skip to content

FindSurface

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

FindSurface

FindSurface:Int32 mesh:Int32, brush:Int32
Parameter Mode Type Default Description
mesh In Int32 required Mesh handle.
brush In Int32 required Brush handle to look for.

Returns: The handle of the surface, or 0 if there is none.

Description

Looks for the surface of a mesh that was painted with the given brush. Returns its handle, or 0 if no surface of the mesh has that brush. Use it to add geometry to an existing surface instead of creating a new one every time.

Related Commands

ClearSurface, CreateSurface, GetSurface, PaintSurface

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally