Skip to content

Card Hand Hover

Adds a subtle lift/scale/rotation when the pointer is over a card. It can also temporarily bring the card to the front sorting layer for crisp overlap.

Inspector

Field Type Description
lift float Vertical lift in pixels while hovering.
rotAdd float Extra rotation in degrees while hovering.
scale float Scale multiplier while hovering.
speed float
bringToFrontOnHover bool Optional: move to a temporary top sorting layer while hovered (if available).
straightenOnHover bool
straightenSpeed float
useOverlaySorting bool
hoverSortingOrder int
CurrentOffset Vector2
CurrentRotAdd float
CurrentScale float
CurrentStraighten float

Public API

Method Returns
OnPointerEnter void
OnPointerExit void