Hi,
(1) to which class does your boolean “IsHiding” belong, so is it a variable of “Bed” or of “MainCharacter”?
(2) on which tick do you print it? In the tick of the “Bed” class?
(3) how many “Bed” objects do you have in your world?
Cause it seems like you have a “MainCharacter” class and a “Bed” class and the “IsHiding” seems to be inside the “Bed” class, not inside “MainCharacter”.