using System; namespace Rive.Components { /// /// The hit test behavior of a RiveWidget in relation to other elements. /// public enum HitTestBehavior { /// /// The bounds of the RiveWidget will consume all hits, even if there is no listener (hit area) at the target point. Content behind the RiveWidget will not receive hits. /// Opaque = 0, /// /// The RiveWidget will only consume hits where there is a listener (hit area) at the target point. Content behind the RiveWidget will only receive hits if no listener was hit. /// Translucent = 1, /// /// All hits will pass through the RiveWidget, regardless of whether a Rive listener was hit. Rive listeners will still receive hits. /// [Obsolete("Transparent hit testing is deprecated, please use Translucent instead.")] Transparent = 2, /// /// No hit testing will be performed on the RiveWidget. /// None = 3 } }