Group objects drag implemented

This commit is contained in:
barsdeveloper
2021-10-04 23:07:40 +02:00
parent 0563663dfc
commit 0bb3a1ca3e
9 changed files with 122 additions and 84 deletions

View File

@@ -8,6 +8,7 @@ export default class UMouseClickDrag extends UPointing {
super(target, blueprint, options)
this.clickButton = options?.clickButton ?? 0
this.exitAnyButton = options?.exitAnyButton ?? true
this.moveEverywhere = options?.moveEverywhere ?? false
this.looseTarget = options?.looseTarget ?? false
this.started = false
this.clickedPosition = [0, 0]