attachhin prettyball object to window