But obviously do it every frame if not defined