Brush angle increment step size?

Hello everyone!
I want to use couple of hotkeys to quickly change brush angle, but the problem is it increments by 1 degree per click and that just isnt very practical of useful for pixel art :sweat_smile:
I couldnt find any settings to change the increment size, i want it to change by 15 degrees.

If there’s no setting perhaps someone could help me figure out how to do this via script?

Okay i managed to do it via scripts, ive no idea if this is the right way, never did lua before, but it seems to work:

local toolPref = app.preferences.tool(app.tool)
local value = toolPref.brush.angle +15
toolPref.brush.angle = value

I was trying to do some stuff via changing Brush() in the past and it was neither reflecting in the UI nor persisting through any tool change, but doing it via tool preferences seems to work as wanted.

update:
Apparently if angle gets outside if -180…180 range it stops working with Dynamics, so i changed it a bit:

local toolPref = app.preferences.tool(app.tool)
local value = toolPref.brush.angle
if value >= 180 
	then value = -180
	end
value = value +15
toolPref.brush.angle = value

Two scripts like this bound to [ and ] and i can quickly rotate my brush with my tablet’s scrollwheel :grin: