Skip to content

app.useTool{tool='move} has no effect on position of Cel.image #5307

@Arecher

Description

@Arecher

Aseprite version: v1.3.14.4

I have been trying to simulate a dragging motion and have encountered what I suspect is a bug. Using the 'move' tool through the API app.useTool does not seem to have any effect.

I would expect there to be Cel Movement when running the following script:

app.useTool{
	tool = 'move',   
	points = {Point(0,0), Point( 10, 0)},
	button = MouseButton.LEFT,
	layer = app.layer,
	frame = app.frame,
	cel = app.cel,
}

But instead, nothing happens. The Undo History does show a Move Tool change, but there is no visible movement.

The same seems to happen when using the 'hand' tool instead, there is no canvas movement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglow priorityscriptableThe issue might be possible to be implemented with a script in the present or in the near future.scriptingRelated to scripting API

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions