question about brush size

  • DUC
    10th Aug 2018 Member 0 Permalink

    Is there a function that returns the size, location of the brush, etc? I think this would be useful for scripts that alter the behavior of the brush.

  • DanielGalrito
    10th Aug 2018 Member 1 Permalink

    You can get the coords of the cursor with tpt.mousex and tpt.mousey, and the sizes with tpt.brushx, and tpt.brushy.