Click or drag to resize

Area2DCollisionLayer Property

The area's physics layer(s). Collidable objects can exist in any of 32 different layers. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See also CollisionMask. See Collision layers and masks in the documentation for more information.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public uint CollisionLayer { get; set; }

Property Value

Type: UInt32
See Also