.. _func_graphics_max2d_colliderect: =========== CollideRect =========== CollideRect - Description =========== .. code-block:: blitzmax CollideRect:Object[](x,y,w,h,collidemask%,writemask%,id:Object=Null) Pixel accurate collision testing between image layers The @collidemask specifies any layers to test for collision with. The @writemask specifies which if any collision layers the @image is added to in it's currently transformed state. The @id specifies an object to be returned to future #CollideImage calls when collisions occur. Parameters ========== Return Values ============= Nothing. Examples ======== See Also ========