Table of Contents

Enum FlexalonInteractable.PlacementModes

Namespace
Flexalon
Assembly
Flexalon.dll

How a dragged object is inserted into a layout.

public enum FlexalonInteractable.PlacementModes

Fields

End = 2

Insert at the end of the layout.

FirstOpenSlot = 5

Use the first open placement in layout order, without requiring pointer overlap.

NearestOpenSlot = 4

Use the nearest overlapping placement that is open for the entire item.

NearestSibling = 0

Insert beside the nearest sibling. This is the default for new interactables.

NearestSlot = 3

Use the nearest overlapping placement, allowing the layout to shift other items.

ReplaceNearestSlot = 7

Use the nearest open placement or place this item and pick up one eligible occupant until another click. With external input, the occupant is not picked up and normal layout collision rules apply.

Start = 1

Insert at the start of the layout.

SwapNearestSlot = 6

Use the nearest open placement or exchange slots with one occupant when both resulting placements fit. The occupant moves to a placement covering this item's starting slot (see DragSwapSlot), shifting if it is larger, or to this item's starting parent if it had no slot.