Is there a way to know if a WkWebView is using scribble?

I have a WkWebView that I use to run a text editor. It works fine with scribble, and I can enter text with the stylus.

However, I would like to disable scrolling with the stylus while scribble is enabled (otherwise, the view moves around when the user writes). But I'd like to keep the scrolling ability if the user is not using scribble.

Hence the question: is there a way to know when scribble has been enabled, or if it's been enabled for this specific WkWebView?

It's actually a webView, using SwiftUI; I don't know if it changes something.

Is there a way to know if a WkWebView is using scribble?
 
 
Q