is there offsides on a goal kick in soccer
Offside (association football) There is no offside offence if a player receives the ball directly from a goal kick, a corner kick, or a throw-in. It is also not an offence if the ball was last deliberately played by an opponent (except for a deliberate save). In this context, according to the IFAB, "A ‘save’ is when a player stops, or attempts to stop, a ball which is going into or very close to the goal with any part of the body except the hands/arms (unless the goalkeeper within the penalty area)." [1]
Back-pass rule Goalkeepers are normally allowed to handle the ball within their own penalty area, and once they have control of the ball in their hands opposition players may not challenge them for it. However the back-pass rule prohibits goalkeepers from handling the ball after it has been deliberately kicked to them by a team-mate, or after receiving it directly from a throw-in taken by a team-mate.[1] Back-passes with parts of the body other than the foot, such as headers, are not prohibited. Despite the popular name "back-pass rule", there is no requirement in the laws that the kick or throw-in must be backwards; handling by the goalkeeper is forbidden regardless of the direction the ball travels.