Skip to content
pixi-silk
GitHub repository
Interface

GuideDrag

import type { GuideDrag } from 'pixi-silk/ui/guides';

A guide being dragged: where it is now, and whether letting go here removes it.

Properties#

PropertyTypeDescriptionDefined in
createdbooleanTrue when the guide came out of the ruler in this drag.ui/guides.ts:32
guideGuideA copy of the guide at its snapped position. A new guide’s id is not in state.guides yet.ui/guides.ts:28
removingbooleanTrue while the pointer is over the ruler: letting go removes the guide.ui/guides.ts:30