If the play is directed in the area of which a potential player is offside (while the intended player is onside) the ruling will be an offside because the player who is offside may play a vital part in the formation of the attack.