Automatically hide 3rd (middle) stave of piano only?

I would like to find out whether it is possible to hide selected staves only? I know about Layout => Vertical Spacing => Staff Visibility, but that regulates a complete instrument. However, I would like to show the “regular” piano staves all the time, but the middle staff should only be shown, when there is content. (Actually there will be one part – a cadenca – where the complete piano must be hidden.)

Is sth like that possible?

OK, my search was successful only after posting this question. Got it:

There is an option at layout options > vertical spacing > staff visibility to hide empty staves of multi-staff instruments, too.

3 Likes