Your question doesn't make sense. There is no such thing as a 'linear action'. There are linear parameters, though. My best guess at what you mean is that you would like to associate two actions to a single linear parameter that is visible in two visibility states. Nothing simpler, just add the two actions and associate both with the linear parameter.
If my best guess was not correct and you need more assistance, then post your block with a better description of what you would like to do.