Print blendMode in console, possible?


I was wondering if it is possible to show the current blendMode in the console.
Unfortunately I couln’t find anything so far.

Thank you :blush:

1 Like

No, I don’t think there is a way to do this out of the box.

Note that the parameters you pass into the blendMode() function are actually just int values defined here:

You could set up your own tracking of the blend mode though, something like this:

String blendMode = "BLEND";

void setBlendMode(int blendModeValue){


  if(blendModeValue == ADD){
    blendMode = "ADD";
  else if ...

Ahh OK, I didn’t knew that!
But it makes sense. I got an integer after trying: println(ADD);

So your suggestion of a tracking function will work for me for now, thank you!