Area2D.collisionLayer

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 url=https://docs.godotengine.org/en/3.3/tutorials/physics/physics_introduction.html#collision-layers-and-masksCollision layers and masks/url in the documentation for more information.

  1. long collisionLayer [@property getter]
  2. long collisionLayer [@property setter]
    struct Area2D
    @nogc nothrow @property
    void
    collisionLayer
    (
    long v
    )

Meta