Skip to main content

set_enabled

Function set_enabled 

Source
pub fn set_enabled(access: Access<'_>, on: bool)
Expand description

Set LCDC bit 5.

For taking the window away and bringing it back within a frame, use hide and set_position: on the Game Boy Color, clearing this bit also clears the condition that lets the window appear at all, and it will not come back that frame.