Skip to content

ImagesOverlap

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

Blitz3DBlitzPlusBlitzBasic

ImagesOverlap

ImagesOverlap:Int32 image1:Int32, x1:Int32, y1:Int32, image2:Int32, x2:Int32, y2:Int32
Parameter Mode Type Default Description
image1 In Int32 required The first image.
x1 In Int32 required Horizontal position where the first image is drawn.
y1 In Int32 required Vertical position where the first image is drawn.
image2 In Int32 required The second image.
x2 In Int32 required Horizontal position where the second image is drawn.
y2 In Int32 required Vertical position where the second image is drawn.

Returns: 1 if the boxes overlap, otherwise 0.

Description

Tells whether the boxes of two images touch, which is quick but counts transparent pixels as well. Use it to decide whether the exact ImagesCollide is needed.

Related Commands

ImageRectOverlap, ImagesCollide, ImageWidth, RectsOverlap

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally