Cherrio LLC
06/30/2024, 4:58 PMNick
06/30/2024, 5:11 PMCherrio LLC
06/30/2024, 5:35 PMNick
06/30/2024, 6:44 PMCherrio LLC
06/30/2024, 8:09 PMCherrio LLC
06/30/2024, 8:09 PMCherrio LLC
06/30/2024, 8:11 PMNick
06/30/2024, 8:12 PMNick
06/30/2024, 8:14 PMCherrio LLC
06/30/2024, 8:19 PMCherrio LLC
06/30/2024, 8:20 PMCherrio LLC
06/30/2024, 8:22 PMpoints
to determine who reacts??Nick
06/30/2024, 8:22 PMCherrio LLC
06/30/2024, 8:48 PMNick
06/30/2024, 8:48 PMpointerChanged += on(
pressed {
selectedShapeBounds = findHitShape(it.location)
},
released = {
selectedShapeBounds = null
}
}
pointerMotionChanged += dragged {
val delta = it.location - downOffset
// this works best if you keep the shape’s original bounds and update based on delta
updateSlectedShapeBounds(delta)
}
Nick
06/30/2024, 8:49 PMNick
06/30/2024, 8:56 PM