fnupdate_cursor_hit_test(click: Res<ButtonInput<MouseButton>>,cursor_world_pos: Res<CursorWorldPos>,mutq_primary_window: Query<&mutWindow,With<PrimaryWindow>>,mutq_pet: Query<(&mutPet,&Transform),With<Pet>>,){letmutprimary_window=q_primary_window.single_mut();// If the window has decorations (e.g. a border) then it should be clickable
primary_window.cursor.hit_test=true;// 이 값이 바뀔떄 배경 클릭 여부가 결정된다.
}