viewportRefers to the viewport (Viewport) associated with the window.
Code:
At least Window.viewport is both a setter and a getter. But the above does absolutely nothing. I don't get it, where/how do I set the viewport?class Window_Popup < Window_Base @@nap_viewport = Viewport.new @@nap_viewport.z = 999 def initialize(..) #@viewport = @@nap_viewport # Doesn't do anything. viewport = @@nap_viewport # Doesn't do anything. #self.viewport = @@nap_viewport # Obviously crashes because using "self" during the initialize()... .. end ..end