Skip to content

AnimatorComponent.CurrentHitBox Property

Definition

Namespace: Brine2D.Animation

Returns the HitBox of the primary animator's current frame, or null if no animation is playing or the current frame has no hitbox defined.

public System.Nullable<Brine2D.Core.Rectangle> CurrentHitBox { get; }

Property Value

System.Nullable<Rectangle>