Set window transparency from command line

Hello, I am trying to set specific window transparency programmatically on X11 kde 5.27.5.

I tried using the command:

transset -n Kate  .5
Set Property to 0.5 on 
Kate

but this has no effect on the window.

I am able set global transparency through the kde translucency setting so I just need that functionality for a window of my choosing. Is there a command specific to kde to do this?

under window management | window actions |inner window actions

you can set mouse buttons or scroll wheel to change opacity.

perhaps you can utilize that mechanism to get to what you need.

mine is set to meta+scollwheel

Very cool, that is a handy setting for times when I need to do this on the fly.

I ended up finding this to work from command line:

xprop -id $(xdotool search --onlyvisible --class "Kate"
) -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY  0x7FFFFFFF