Adjust wrist movement

hello, I would like to have arms where I can move the wrist of the hands. For the fingers it works. I am using get bone rotation with transform bone. I have not found a way to make the wrist moveable. Does anyone have an idea?