Blockly가 2025년 11월 10일에 Raspberry Pi Foundation으로 이전되었습니다. 블로그 게시물과 FAQ를 읽어보세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
차단 > 연결 > getSourceBlock
Connection.getSourceBlock() 메서드
이 연결의 소스 블록을 가져옵니다.
서명:
getSourceBlock(): Block;
반환:
차단
소스 블록
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],["The `getSourceBlock()` method, part of the `Connection` class, retrieves the source block associated with a specific connection. It returns a `Block` object, which represents the source block. This method's core function is to identify and provide access to the block that is the origin of the connection. The method signature is `getSourceBlock(): Block;`.\n"]]